//**如果没有webpack.config.js文件直接在项目根目录新建一个就好了**
module.exports = {
    module: {
        rules: [
            {
                test: /\.scss$/,
                loaders: ['style', 'css', 'sass']
            },
			{
			    test: /\.js$/,
			    loader: 'babel-loader',
			    include: [
			     resolve('src'),
			     resolve('test'),
			     resolve('node_modules/webpack-dev-server/client'),
			     resolve('node_modules/v-charts/src'),
			     resolve('node_modules/vue-awesome'),
			     resolve('node_modules/element-ui/packages'),
			     resolve('node_modules/element-ui/src')
			    ]
			}
        ]
    }
}
